const {
  info,
  buy,
} = require('./controller');


exports.main = async (event, context) => {
  switch (event.action) {
    case 'info': {
      return info(event.params)
    }
    case 'buy': {
      return buy(event.params)
    }
  }
}
